package app.client.file.output;

import java.io.File;

import cn.lily.com.file.io.FileOutputManager;
import cn.lily.exp.help.manager.FileOutManager;

public class FileOutput {
	
	public static void main(String[] args) {
		
		String url = "https://www.bilibili.com/bangumi/play/ep";
		//String url = "https://bangumi.bilibili.com/anime/5453/play#";
		int startIdx = 83253;
		int carNo = 52;
		String carName = "恐怖！僵尸猫";
		
		FileOutputManager fom = new FileOutputManager();
		
		fom.loadFile("D:/tmp.txt");
		
		for(int i=1;i<=carNo;i++){
			String str = url+"ep"+startIdx+"|"+carName+" "+i+"\n";
			startIdx++;
			fom.writeString(str, "GBK");
		}
		
		fom.free();
		
		
	}
	
}
